package com.example.silence.mypainter.All.Activity;

import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.example.silence.mypainter.R;

import deadline.statebutton.StateButton;

public class AboutActivity extends AppCompatActivity {
    private StateButton connect_Maker;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);

        connect_Maker = findViewById(R.id.contact_m);
        connect_Maker.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Uri uri = Uri.parse("http://qm.qq.com/cgi-bin/qm/qr?k=kRk-Fap3uzw8vyHQw7zlFs3hwhnavox0");
                Intent intent = new Intent(Intent.ACTION_VIEW, uri);
                startActivity(intent);
            }
        });
    }
}
